package de.lunaplayer.app;

import java.net.URL;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.SwingUtilities;

import de.lunaplayer.view.Gui;

public class AppStarter {
	
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable(){
			public void run(){
				new Gui();
			}
		});
	}
	public static Icon makeIcon(String string) {
		URL url = AppStarter.class.getResource(string);
		if(url != null)
			return new ImageIcon(url);
		return null;
	}
}
